// import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
 import './index.css'

 import '@/assets/font/iconfont.css'  //引入阿里图标
// import App from './App.tsx'
import Router from './router/Index.tsx'
import { HashRouter,BrowserRouter} from 'react-router'
import '@ant-design/v5-patch-for-react-19';
import {store,persistor} from './store/store.ts'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'
createRoot(document.getElementById('root')!).render(
  // <StrictMode>
    // <App />
    <Provider store={store}>
      <PersistGate loading={null} persistor={persistor}>
        <BrowserRouter>
          <Router></Router>
       </BrowserRouter>
       </PersistGate>
    </Provider>
  
  
  // </StrictMode>,
)
